package com.basic.business.model.dto;

import com.basic.business.common.config.ValidationGroups;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 账号配置表(SysOrg)实体类
 *
 * @author huage
 * @since 2021-07-20 14:33:46
 */
@ApiModel("SysOrgDto")
@Data
public class SysOrgDto implements Serializable {

    private static final long serialVersionUID = -64874467924540747L;

    @ApiModelProperty(value = "$column.comment")
    @NotNull(groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    @Min(value = 1, groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    private Integer id;

    private String orgId;

    @ApiModelProperty(value = "配置类型：1微信 2钉钉 ")
    private Object appType;

    private String appId;

    private String appSecret;

    @ApiModelProperty(value = "应用code")
    private String sysCode;

    @ApiModelProperty(value = "应用名称")
    private String sysName;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

}
